<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="mybusinessaccountmanagement_v1.html">My Business Account Management API</a> . <a href="mybusinessaccountmanagement_v1.accounts.html">accounts</a> . <a href="mybusinessaccountmanagement_v1.accounts.admins.html">admins</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Invites the specified user to become an administrator for the specified account. The invitee must accept the invitation in order to be granted access to the account. See AcceptInvitation to programmatically accept an invitation.</p>
<p class="toc_element">
  <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
<p class="firstline">Removes the specified admin from the specified account.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
<p class="firstline">Lists the admins for the specified account.</p>
<p class="toc_element">
  <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the Admin for the specified Account Admin.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
  <pre>Invites the specified user to become an administrator for the specified account. The invitee must accept the invitation in order to be granted access to the account. See AcceptInvitation to programmatically accept an invitation.

Args:
  parent: string, Required. The resource name of the account this admin is created for. `accounts/{account_id}`. (required)
  body: object, The request body.
    The object takes the form of:

{ # An administrator of an Account or a location.
  &quot;account&quot;: &quot;A String&quot;, # Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.
  &quot;admin&quot;: &quot;A String&quot;, # Optional. The name of the admin. When making the initial invitation, this is the invitee&#x27;s email address. On `GET` calls, the user&#x27;s email address is returned if the invitation is still pending. Otherwise, it contains the user&#x27;s first and last names. This field is only needed to be set during admin creation.
  &quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.
  &quot;pendingInvitation&quot;: True or False, # Output only. Indicates whether this admin has a pending invitation for the specified resource.
  &quot;role&quot;: &quot;A String&quot;, # Required. Specifies the role that this admin uses with the specified Account or Location.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An administrator of an Account or a location.
  &quot;account&quot;: &quot;A String&quot;, # Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.
  &quot;admin&quot;: &quot;A String&quot;, # Optional. The name of the admin. When making the initial invitation, this is the invitee&#x27;s email address. On `GET` calls, the user&#x27;s email address is returned if the invitation is still pending. Otherwise, it contains the user&#x27;s first and last names. This field is only needed to be set during admin creation.
  &quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.
  &quot;pendingInvitation&quot;: True or False, # Output only. Indicates whether this admin has a pending invitation for the specified resource.
  &quot;role&quot;: &quot;A String&quot;, # Required. Specifies the role that this admin uses with the specified Account or Location.
}</pre>
</div>

<div class="method">
    <code class="details" id="delete">delete(name, x__xgafv=None)</code>
  <pre>Removes the specified admin from the specified account.

Args:
  name: string, Required. The resource name of the admin to remove from the account. `accounts/{account_id}/admins/{admin_id}`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, x__xgafv=None)</code>
  <pre>Lists the admins for the specified account.

Args:
  parent: string, Required. The name of the account from which to retrieve a list of admins. `accounts/{account_id}/admins`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for AccessControl.ListAccountAdmins.
  &quot;accountAdmins&quot;: [ # A collection of Admin instances.
    { # An administrator of an Account or a location.
      &quot;account&quot;: &quot;A String&quot;, # Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.
      &quot;admin&quot;: &quot;A String&quot;, # Optional. The name of the admin. When making the initial invitation, this is the invitee&#x27;s email address. On `GET` calls, the user&#x27;s email address is returned if the invitation is still pending. Otherwise, it contains the user&#x27;s first and last names. This field is only needed to be set during admin creation.
      &quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.
      &quot;pendingInvitation&quot;: True or False, # Output only. Indicates whether this admin has a pending invitation for the specified resource.
      &quot;role&quot;: &quot;A String&quot;, # Required. Specifies the role that this admin uses with the specified Account or Location.
    },
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
  <pre>Updates the Admin for the specified Account Admin.

Args:
  name: string, Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation. (required)
  body: object, The request body.
    The object takes the form of:

{ # An administrator of an Account or a location.
  &quot;account&quot;: &quot;A String&quot;, # Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.
  &quot;admin&quot;: &quot;A String&quot;, # Optional. The name of the admin. When making the initial invitation, this is the invitee&#x27;s email address. On `GET` calls, the user&#x27;s email address is returned if the invitation is still pending. Otherwise, it contains the user&#x27;s first and last names. This field is only needed to be set during admin creation.
  &quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.
  &quot;pendingInvitation&quot;: True or False, # Output only. Indicates whether this admin has a pending invitation for the specified resource.
  &quot;role&quot;: &quot;A String&quot;, # Required. Specifies the role that this admin uses with the specified Account or Location.
}

  updateMask: string, Required. The specific fields that should be updated. The only editable field is role.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An administrator of an Account or a location.
  &quot;account&quot;: &quot;A String&quot;, # Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.
  &quot;admin&quot;: &quot;A String&quot;, # Optional. The name of the admin. When making the initial invitation, this is the invitee&#x27;s email address. On `GET` calls, the user&#x27;s email address is returned if the invitation is still pending. Otherwise, it contains the user&#x27;s first and last names. This field is only needed to be set during admin creation.
  &quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.
  &quot;pendingInvitation&quot;: True or False, # Output only. Indicates whether this admin has a pending invitation for the specified resource.
  &quot;role&quot;: &quot;A String&quot;, # Required. Specifies the role that this admin uses with the specified Account or Location.
}</pre>
</div>

</body></html>